package 设计原则.组合优于继承;

/**
 * @author: 王富贵
 * @description: 运输工具父类
 * @createTime: 2022年10月27日 11:03:19
 */
public class Transport {
    private Driver driver;
    private Engine engine;

    public Transport(Driver driver, Engine engine) {
        this.driver = driver;
        this.engine = engine;
    }
}
